package com.example.service.webhook.business.bank.dtonew;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by wangyanbo on 16/9/28.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CardDetail {
    @JsonProperty("card_id")
    private String cardId;
    @JsonProperty("bank_name")
    private String bankName;
    @JsonProperty("card_type")
    private String cardType;
    @JsonProperty("card_num")
    private String cardNo;
    @JsonProperty("full_card_num")
    private String fullCardNo;
    @JsonProperty("name_on_card")
    private String nameOnCard;
    private BigDecimal balance;
    @JsonProperty("credit_limit")
    private BigDecimal creditLimit;
    @JsonProperty("cash_balance")
    private BigDecimal cashBalance;
    @JsonProperty("cash_limit")
    private BigDecimal cashLimit;
    @JsonProperty("open_time")
    private String openTime;
    private List<CardDeposit> deposits = new ArrayList<>();
    private List<BillDetail> bills = new ArrayList<>();
	public String getCardId() {
		return cardId;
	}
	public void setCardId(String cardId) {
		this.cardId = cardId;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public String getCardType() {
		return cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	public String getFullCardNo() {
		return fullCardNo;
	}
	public void setFullCardNo(String fullCardNo) {
		this.fullCardNo = fullCardNo;
	}
	public String getNameOnCard() {
		return nameOnCard;
	}
	public void setNameOnCard(String nameOnCard) {
		this.nameOnCard = nameOnCard;
	}
	public BigDecimal getBalance() {
		return balance;
	}
	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}
	public BigDecimal getCreditLimit() {
		return creditLimit;
	}
	public void setCreditLimit(BigDecimal creditLimit) {
		this.creditLimit = creditLimit;
	}
	public BigDecimal getCashBalance() {
		return cashBalance;
	}
	public void setCashBalance(BigDecimal cashBalance) {
		this.cashBalance = cashBalance;
	}
	public BigDecimal getCashLimit() {
		return cashLimit;
	}
	public void setCashLimit(BigDecimal cashLimit) {
		this.cashLimit = cashLimit;
	}
	public String getOpenTime() {
		return openTime;
	}
	public void setOpenTime(String openTime) {
		this.openTime = openTime;
	}
	public List<CardDeposit> getDeposits() {
		return deposits;
	}
	public void setDeposits(List<CardDeposit> deposits) {
		this.deposits = deposits;
	}
	public List<BillDetail> getBills() {
		return bills;
	}
	public void setBills(List<BillDetail> bills) {
		this.bills = bills;
	}
    
}
